var app = angular.module('AppCtr', ['ui.router']);
console.log("run js");
app.config(function($stateProvider, $urlRouterProvider) {
	console.log("a");
	var sp=$stateProvider;
	sp.state('home', {url: '/home',templateUrl: './ui_route/a.html'});
	sp.state('photos', {url: '/photos',templateUrl: './ui_route/b.html'});
	sp.state('about', {url: '/about',templateUrl: './ui_route/c.html'});
	console.log("b");
	$urlRouterProvider.otherwise('/home');
	console.log("c");
});